home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97a.txt
/
000108_icon-group-sender _Thu Apr 10 21:53:31 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 11 Apr 1997 08:46:35 MST
Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
id AA00848; Fri, 11 Apr 1997 08:46:35 -0700
To: icon-group@cs.arizona.edu
Date: Thu, 10 Apr 1997 21:53:31 +0200
From: Stuart Robinson <Stuart.Robinson@anu.edu.au>
Message-Id: <334D453B.72FD@anu.edu.au>
Organization: ANU
Sender: icon-group-request@cs.arizona.edu
Reply-To: Stuart.Robinson@anu.edu.au
Subject: Records in Icon
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 754
Does anyone know a way to check two fields of two entries in a record to
see whether either one of the fields in the two entries share an
identical value?
For example, given a record with three entries and 5 fields like the
following (where the 4th and 5th field are empty in entries 1 and 3)
1 5 X
2 5 X 6 Y
3 6 X
how could one check to see whether successive entires (1 and 2 or 2 and
3) share a common value in either the second or the fourth field?
In other words, how could one write a program that would tell you both
when 1 and 2 share a common value (5) via the 2nd field and when 2 and 3
share a common value (6) via the 4th field of 2 and the 2nd field of 3?
Thanks in advance.
Cheers,
Stuart Robinson
<Stuart.Robinson@anu.edu.au>